<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.8.16" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>LEAF: LEAF/Inc/leaf-instruments.h Source File</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <script type="text/javascript" src="../js/iframeResizer.contentWindow.min.js"></script>
    <!-- <script src="/js/template.js"></script> -->
     <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script> 
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
    <!-- <link rel="stylesheet" href="/css/tachyons.css" type="text/css" /> -->
</head>
<body class="bg-washed-green black-70 ph0 sans-serif" onload="iframeResizePipe()">
    <div>
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part -->
    </div>
</body>
</html><!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_127e6aa213d41105176fe0c3bbb2560c.html">LEAF</a></li><li class="navelem"><a class="el" href="dir_2638202b9749e6ce2c919e410b7e2f43.html">Inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">leaf-instruments.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*==============================================================================</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> </span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> leaf-instruments.h</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> Created: 30 Nov 2018 10:24:44am</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> Author:  airship</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> </span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> ==============================================================================*/</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef LEAF_INSTRUMENTS_H_INCLUDED</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define LEAF_INSTRUMENTS_H_INCLUDED</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;leaf-math.h&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;leaf-mempool.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;leaf-oscillators.h&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;leaf-filters.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;leaf-envelopes.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">struct </span>_t808Cowbell</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        tMempool mempool;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        tSquare p[2];</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        tNoise stick;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        tSVF bandpassOsc;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        tSVF bandpassStick;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        tEnvelope envGain;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        tEnvelope envStick;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        tEnvelope envFilter;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        tHighpass highpass;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordtype">float</span> oscMix;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <span class="keywordtype">float</span> filterCutoff;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        uint8_t useStick;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    } _t808Cowbell;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keyword">typedef</span> _t808Cowbell* t808Cowbell;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#gad73082119a3ea30b5531c683617d007b">t808Cowbell_init</a>            (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">int</span> useStick, <a class="code" href="struct_l_e_a_f.html">LEAF</a>* <span class="keyword">const</span> leaf);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga99059721c541953474999ddd3bb59913">t808Cowbell_initToPool</a>      (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">int</span> useStick, tMempool* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#gaf582d380f2b6af70344a3a8b4ae04d09">t808Cowbell_free</a>            (t808Cowbell* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordtype">float</span>   <a class="code" href="group__t808cowbell.html#ga58c18da70d7dbe34f5074dd3864950ec">t808Cowbell_tick</a>            (t808Cowbell* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga0345c870253d83d7328ddcaa8cd5962f">t808Cowbell_on</a>              (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> vel);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#gaa7f1e2a1ce97bb32cba4c8c55ea23ccd">t808Cowbell_setDecay</a>        (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga7d3ae5159a1e71f7a48e2888b931d6a6">t808Cowbell_setHighpassFreq</a> (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#gab2b2eb374bdd28d96dc91e279cf7f8c8">t808Cowbell_setBandpassFreq</a> (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga231f7ba0e351caf6989db61a37229c49">t808Cowbell_setFreq</a>         (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga8547ef62c511459d58c1c10636a4ff0e">t808Cowbell_setOscMix</a>       (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">float</span> oscMix);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808cowbell.html#ga2da4c28c28924e77adb14a477bc2b099">t808Cowbell_setStick</a>        (t808Cowbell* <span class="keyword">const</span>, <span class="keywordtype">int</span> useStick);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    </div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">struct </span>_t808Hihat</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    {</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        tMempool mempool;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="comment">// 6 Square waves</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        tSquare p[6];</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        tNoise n;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        tSVF bandpassOsc;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        tSVF bandpassStick;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        tEnvelope envGain;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        tEnvelope envStick;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        tEnvelope noiseFMGain;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        tHighpass highpass;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        tNoise stick;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="keywordtype">float</span> freq;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="keywordtype">float</span> stretch;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordtype">float</span> FM_amount;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        <span class="keywordtype">float</span> oscNoiseMix;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    } _t808Hihat;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <span class="keyword">typedef</span> _t808Hihat* t808Hihat;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#ga90cf7603e94540308461463f738d120a">t808Hihat_init</a>                  (t808Hihat* <span class="keyword">const</span>, <a class="code" href="struct_l_e_a_f.html">LEAF</a>* <span class="keyword">const</span> leaf);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#ga1aa220309fb3475977ea7878105a8d1d">t808Hihat_initToPool</a>            (t808Hihat* <span class="keyword">const</span>, tMempool* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gacdf51e9c89696dfe6347bbf5bd750795">t808Hihat_free</a>                  (t808Hihat* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    </div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordtype">float</span>   <a class="code" href="group__t808hihat.html#gacd110ae0db13491f0eb4aa27b75b3cc0">t808Hihat_tick</a>                  (t808Hihat* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gae906b0f89ba9a5ec113512e943b06762">t808Hihat_on</a>                    (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> vel);</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#ga450a85981e478ea7bf7990b7867dfa7c">t808Hihat_setOscNoiseMix</a>        (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> oscNoiseMix);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gafe362829712b47febbc622a133c978eb">t808Hihat_setDecay</a>              (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gacece6ca1e3cc6bfe0b5b1ba1ef310a4d">t808Hihat_setHighpassFreq</a>       (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#ga86f81ed83bf120be74b1d49c8e409ba9">t808Hihat_setOscBandpassFreq</a>    (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gacfd6ccfd7606aa878c6b5a2b4abb646c">t808Hihat_setOscBandpassQ</a>       (t808Hihat* <span class="keyword">const</span> hihat, <span class="keywordtype">float</span> Q);</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gac877fd8a5108ee60ce9bc9629c673749">t808Hihat_setStickBandPassFreq</a>  (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#ga554517ecfcd8d7c4f46d97a2be3d11ee">t808Hihat_setStickBandPassQ</a>     (t808Hihat* <span class="keyword">const</span> hihat, <span class="keywordtype">float</span> Q);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gad9633cc3f51a6ce583c1941309582427">t808Hihat_setOscFreq</a>            (t808Hihat* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gae236e3f43e6099c9b6047bac2b72ab9a">t808Hihat_setStretch</a>            (t808Hihat* <span class="keyword">const</span> hihat, <span class="keywordtype">float</span> stretch);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808hihat.html#gaa2611ffc113296265543a92ebcb1b772">t808Hihat_setFM</a>                 (t808Hihat* <span class="keyword">const</span> hihat, <span class="keywordtype">float</span> FM_amount);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    </div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">struct </span>_t808Snare</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    {</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        tMempool mempool;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="comment">// Tone 1, Tone 2, Noise</span></div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        tTriangle tone[2]; <span class="comment">// Tri (not yet antialiased or wavetabled)</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        tNoise noiseOsc;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        tSVF toneLowpass[2];</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        tSVF noiseLowpass; <span class="comment">// Lowpass from SVF filter</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        tEnvelope toneEnvOsc[2];</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        tEnvelope toneEnvGain[2];</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        tEnvelope noiseEnvGain;</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        tEnvelope toneEnvFilter[2];</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        tEnvelope noiseEnvFilter;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <span class="keywordtype">float</span> toneGain[2];</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <span class="keywordtype">float</span> noiseGain;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <span class="keywordtype">float</span> toneNoiseMix;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        </div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <span class="keywordtype">float</span> tone1Freq, tone2Freq;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;        </div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        <span class="keywordtype">float</span> noiseFilterFreq;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    } _t808Snare;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    </div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keyword">typedef</span> _t808Snare* t808Snare;</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    </div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gacd0d752096b9eb8c14b7bd5e7088f6df">t808Snare_init</a>                  (t808Snare* <span class="keyword">const</span>, <a class="code" href="struct_l_e_a_f.html">LEAF</a>* <span class="keyword">const</span> leaf);</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#ga2aca77d2a4474881901ede4e03bd6209">t808Snare_initToPool</a>            (t808Snare* <span class="keyword">const</span>, tMempool* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#ga61d0f7d53b904cf9919a767abe274d10">t808Snare_free</a>                  (t808Snare* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    </div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <span class="keywordtype">float</span>   <a class="code" href="group__t808snare.html#ga517c3b4cfe9e4d362b37d897b852243c">t808Snare_tick</a>                  (t808Snare* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gae053deab7660527b10d71b087e880565">t808Snare_on</a>                    (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> vel);</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gac2203aab6623948c0516eac99caff599">t808Snare_setTone1Freq</a>          (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gae29d81ddb62b86a01e9d9f91af2727ae">t808Snare_setTone2Freq</a>          (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#ga2428f86cd194304d8473720dde039964">t808Snare_setTone1Decay</a>         (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#ga9fd3b086cf100b54d044f8a4be211ffe">t808Snare_setTone2Decay</a>         (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gac4d1025b896f471d4eaa28a00332ffd7">t808Snare_setNoiseDecay</a>         (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gac2d85920c25919c4d647243f32453229">t808Snare_setToneNoiseMix</a>       (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> toneNoiseMix);</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#gafaee814013dd2d593d88edb94760f4ab">t808Snare_setNoiseFilterFreq</a>    (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> noiseFilterFreq);</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808snare.html#ga6777f759f2d5969d1ce54337e85f00f2">t808Snare_setNoiseFilterQ</a>       (t808Snare* <span class="keyword">const</span>, <span class="keywordtype">float</span> noiseFilterQ);</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    </div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    <span class="keyword">typedef</span> <span class="keyword">struct </span>_t808Kick</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    {</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        </div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        tMempool mempool;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        </div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        tCycle tone; <span class="comment">// Tri</span></div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        tNoise noiseOsc;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        tSVF toneLowpass;</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        tEnvelope toneEnvOscChirp;</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        tEnvelope toneEnvOscSigh;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        tEnvelope toneEnvGain;</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        tEnvelope noiseEnvGain;</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        tEnvelope toneEnvFilter;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        </div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        <span class="keywordtype">float</span> toneGain;</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        <span class="keywordtype">float</span> noiseGain;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        </div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;        <span class="keywordtype">float</span> toneInitialFreq;</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        <span class="keywordtype">float</span> sighAmountInHz;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;        <span class="keywordtype">float</span> chirpRatioMinusOne;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="keywordtype">float</span> noiseFilterFreq;</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    } _t808Kick;</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    </div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <span class="keyword">typedef</span> _t808Kick* t808Kick;</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    </div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#gadf0610a6f55caa8fe2bce29be8ae5866">t808Kick_init</a>               (t808Kick* <span class="keyword">const</span>, <a class="code" href="struct_l_e_a_f.html">LEAF</a>* <span class="keyword">const</span> leaf);</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga0126a59483e835ffb84686ded5ffe4db">t808Kick_initToPool</a>         (t808Kick* <span class="keyword">const</span>, tMempool* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga29c6085b72a735d53c2112d574b53019">t808Kick_free</a>               (t808Kick* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    </div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keywordtype">float</span>   <a class="code" href="group__t808kick.html#ga3bba7e177c2b54fadb802277ee4df1d1">t808Kick_tick</a>               (t808Kick* <span class="keyword">const</span>);</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga412fef7686fb7b6a6f9a545de1dd66c6">t808Kick_on</a>                 (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> vel);</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#gabb6ccbf278eacb145026c24591a0d37c">t808Kick_setToneFreq</a>        (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> freq);</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga5c40b2f7ee8815cd3b50a52f33f69e50">t808Kick_setToneDecay</a>       (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#gaf7d43ae5eeb2f104773e33f128d04ad7">t808Kick_setNoiseDecay</a>      (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> decay);</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#gacc0caa60a523b68eec29d7a6391021ba">t808Kick_setSighAmount</a>      (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> sigh);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga5d87bb00168c68eb2c818bcb215998a4">t808Kick_setChirpAmount</a>     (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> chirp);</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga8f8bf7a1fcd13931e431e7adf073de68">t808Kick_setToneNoiseMix</a>    (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> toneNoiseMix);</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#ga8595d5622afa9ca641b082f016969d25">t808Kick_setNoiseFilterFreq</a> (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> noiseFilterFreq);</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    <span class="keywordtype">void</span>    <a class="code" href="group__t808kick.html#gafccd007bf99d7997189694ae37ec568e">t808Kick_setNoiseFilterQ</a>    (t808Kick* <span class="keyword">const</span>, <span class="keywordtype">float</span> noiseFilterQ);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    </div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    <span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    </div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;}</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160; </div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="preprocessor">#endif // LEAF_INSTRUMENTS_H_INCLUDED</span></div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160; </div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__t808hihat_html_gae906b0f89ba9a5ec113512e943b06762"><div class="ttname"><a href="group__t808hihat.html#gae906b0f89ba9a5ec113512e943b06762">t808Hihat_on</a></div><div class="ttdeci">void t808Hihat_on(t808Hihat *const, float vel)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:209</div></div>
<div class="ttc" id="agroup__t808hihat_html_ga1aa220309fb3475977ea7878105a8d1d"><div class="ttname"><a href="group__t808hihat.html#ga1aa220309fb3475977ea7878105a8d1d">t808Hihat_initToPool</a></div><div class="ttdeci">void t808Hihat_initToPool(t808Hihat *const, tMempool *const)</div><div class="ttdoc">Initialize a t808Hihat to a specified mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:151</div></div>
<div class="ttc" id="agroup__t808snare_html_ga2428f86cd194304d8473720dde039964"><div class="ttname"><a href="group__t808snare.html#ga2428f86cd194304d8473720dde039964">t808Snare_setTone1Decay</a></div><div class="ttdeci">void t808Snare_setTone1Decay(t808Snare *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:399</div></div>
<div class="ttc" id="agroup__t808hihat_html_gad9633cc3f51a6ce583c1941309582427"><div class="ttname"><a href="group__t808hihat.html#gad9633cc3f51a6ce583c1941309582427">t808Hihat_setOscFreq</a></div><div class="ttdeci">void t808Hihat_setOscFreq(t808Hihat *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:306</div></div>
<div class="ttc" id="agroup__t808kick_html_gaf7d43ae5eeb2f104773e33f128d04ad7"><div class="ttname"><a href="group__t808kick.html#gaf7d43ae5eeb2f104773e33f128d04ad7">t808Kick_setNoiseDecay</a></div><div class="ttdeci">void t808Kick_setNoiseDecay(t808Kick *const, float decay)</div></div>
<div class="ttc" id="agroup__t808hihat_html_gae236e3f43e6099c9b6047bac2b72ab9a"><div class="ttname"><a href="group__t808hihat.html#gae236e3f43e6099c9b6047bac2b72ab9a">t808Hihat_setStretch</a></div><div class="ttdeci">void t808Hihat_setStretch(t808Hihat *const hihat, float stretch)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:270</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga8547ef62c511459d58c1c10636a4ff0e"><div class="ttname"><a href="group__t808cowbell.html#ga8547ef62c511459d58c1c10636a4ff0e">t808Cowbell_setOscMix</a></div><div class="ttdeci">void t808Cowbell_setOscMix(t808Cowbell *const, float oscMix)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:132</div></div>
<div class="ttc" id="agroup__t808cowbell_html_gab2b2eb374bdd28d96dc91e279cf7f8c8"><div class="ttname"><a href="group__t808cowbell.html#gab2b2eb374bdd28d96dc91e279cf7f8c8">t808Cowbell_setBandpassFreq</a></div><div class="ttdeci">void t808Cowbell_setBandpassFreq(t808Cowbell *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:119</div></div>
<div class="ttc" id="agroup__t808kick_html_ga8595d5622afa9ca641b082f016969d25"><div class="ttname"><a href="group__t808kick.html#ga8595d5622afa9ca641b082f016969d25">t808Kick_setNoiseFilterFreq</a></div><div class="ttdeci">void t808Kick_setNoiseFilterFreq(t808Kick *const, float noiseFilterFreq)</div></div>
<div class="ttc" id="agroup__t808kick_html_ga412fef7686fb7b6a6f9a545de1dd66c6"><div class="ttname"><a href="group__t808kick.html#ga412fef7686fb7b6a6f9a545de1dd66c6">t808Kick_on</a></div><div class="ttdeci">void t808Kick_on(t808Kick *const, float vel)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:513</div></div>
<div class="ttc" id="agroup__t808kick_html_ga29c6085b72a735d53c2112d574b53019"><div class="ttname"><a href="group__t808kick.html#ga29c6085b72a735d53c2112d574b53019">t808Kick_free</a></div><div class="ttdeci">void t808Kick_free(t808Kick *const)</div><div class="ttdoc">Free a t808Kick from its mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:486</div></div>
<div class="ttc" id="agroup__t808kick_html_ga0126a59483e835ffb84686ded5ffe4db"><div class="ttname"><a href="group__t808kick.html#ga0126a59483e835ffb84686ded5ffe4db">t808Kick_initToPool</a></div><div class="ttdeci">void t808Kick_initToPool(t808Kick *const, tMempool *const)</div><div class="ttdoc">Initialize a t808Kick to a specified mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:466</div></div>
<div class="ttc" id="agroup__t808hihat_html_ga450a85981e478ea7bf7990b7867dfa7c"><div class="ttname"><a href="group__t808hihat.html#ga450a85981e478ea7bf7990b7867dfa7c">t808Hihat_setOscNoiseMix</a></div><div class="ttdeci">void t808Hihat_setOscNoiseMix(t808Hihat *const, float oscNoiseMix)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:216</div></div>
<div class="ttc" id="agroup__t808hihat_html_ga554517ecfcd8d7c4f46d97a2be3d11ee"><div class="ttname"><a href="group__t808hihat.html#ga554517ecfcd8d7c4f46d97a2be3d11ee">t808Hihat_setStickBandPassQ</a></div><div class="ttdeci">void t808Hihat_setStickBandPassQ(t808Hihat *const hihat, float Q)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:300</div></div>
<div class="ttc" id="agroup__t808kick_html_ga8f8bf7a1fcd13931e431e7adf073de68"><div class="ttname"><a href="group__t808kick.html#ga8f8bf7a1fcd13931e431e7adf073de68">t808Kick_setToneNoiseMix</a></div><div class="ttdeci">void t808Kick_setToneNoiseMix(t808Kick *const, float toneNoiseMix)</div></div>
<div class="ttc" id="agroup__t808hihat_html_gacdf51e9c89696dfe6347bbf5bd750795"><div class="ttname"><a href="group__t808hihat.html#gacdf51e9c89696dfe6347bbf5bd750795">t808Hihat_free</a></div><div class="ttdeci">void t808Hihat_free(t808Hihat *const)</div><div class="ttdoc">Free a t808Hihat from its mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:186</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga231f7ba0e351caf6989db61a37229c49"><div class="ttname"><a href="group__t808cowbell.html#ga231f7ba0e351caf6989db61a37229c49">t808Cowbell_setFreq</a></div><div class="ttdeci">void t808Cowbell_setFreq(t808Cowbell *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:125</div></div>
<div class="ttc" id="agroup__t808snare_html_gac4d1025b896f471d4eaa28a00332ffd7"><div class="ttname"><a href="group__t808snare.html#gac4d1025b896f471d4eaa28a00332ffd7">t808Snare_setNoiseDecay</a></div><div class="ttdeci">void t808Snare_setNoiseDecay(t808Snare *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:411</div></div>
<div class="ttc" id="agroup__t808snare_html_gac2d85920c25919c4d647243f32453229"><div class="ttname"><a href="group__t808snare.html#gac2d85920c25919c4d647243f32453229">t808Snare_setToneNoiseMix</a></div><div class="ttdeci">void t808Snare_setToneNoiseMix(t808Snare *const, float toneNoiseMix)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:417</div></div>
<div class="ttc" id="agroup__t808hihat_html_gacd110ae0db13491f0eb4aa27b75b3cc0"><div class="ttname"><a href="group__t808hihat.html#gacd110ae0db13491f0eb4aa27b75b3cc0">t808Hihat_tick</a></div><div class="ttdeci">float t808Hihat_tick(t808Hihat *const)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:222</div></div>
<div class="ttc" id="agroup__t808snare_html_ga9fd3b086cf100b54d044f8a4be211ffe"><div class="ttname"><a href="group__t808snare.html#ga9fd3b086cf100b54d044f8a4be211ffe">t808Snare_setTone2Decay</a></div><div class="ttdeci">void t808Snare_setTone2Decay(t808Snare *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:405</div></div>
<div class="ttc" id="agroup__t808hihat_html_gacfd6ccfd7606aa878c6b5a2b4abb646c"><div class="ttname"><a href="group__t808hihat.html#gacfd6ccfd7606aa878c6b5a2b4abb646c">t808Hihat_setOscBandpassQ</a></div><div class="ttdeci">void t808Hihat_setOscBandpassQ(t808Hihat *const hihat, float Q)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:288</div></div>
<div class="ttc" id="agroup__t808kick_html_gadf0610a6f55caa8fe2bce29be8ae5866"><div class="ttname"><a href="group__t808kick.html#gadf0610a6f55caa8fe2bce29be8ae5866">t808Kick_init</a></div><div class="ttdeci">void t808Kick_init(t808Kick *const, LEAF *const leaf)</div><div class="ttdoc">Initialize a t808Kick to the default mempool of a LEAF instance.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:461</div></div>
<div class="ttc" id="agroup__t808kick_html_ga5d87bb00168c68eb2c818bcb215998a4"><div class="ttname"><a href="group__t808kick.html#ga5d87bb00168c68eb2c818bcb215998a4">t808Kick_setChirpAmount</a></div><div class="ttdeci">void t808Kick_setChirpAmount(t808Kick *const, float chirp)</div></div>
<div class="ttc" id="agroup__t808hihat_html_ga86f81ed83bf120be74b1d49c8e409ba9"><div class="ttname"><a href="group__t808hihat.html#ga86f81ed83bf120be74b1d49c8e409ba9">t808Hihat_setOscBandpassFreq</a></div><div class="ttdeci">void t808Hihat_setOscBandpassFreq(t808Hihat *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:282</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga2da4c28c28924e77adb14a477bc2b099"><div class="ttname"><a href="group__t808cowbell.html#ga2da4c28c28924e77adb14a477bc2b099">t808Cowbell_setStick</a></div><div class="ttdeci">void t808Cowbell_setStick(t808Cowbell *const, int useStick)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:138</div></div>
<div class="ttc" id="agroup__t808snare_html_gac2203aab6623948c0516eac99caff599"><div class="ttname"><a href="group__t808snare.html#gac2203aab6623948c0516eac99caff599">t808Snare_setTone1Freq</a></div><div class="ttdeci">void t808Snare_setTone1Freq(t808Snare *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:385</div></div>
<div class="ttc" id="agroup__t808snare_html_ga2aca77d2a4474881901ede4e03bd6209"><div class="ttname"><a href="group__t808snare.html#ga2aca77d2a4474881901ede4e03bd6209">t808Snare_initToPool</a></div><div class="ttdeci">void t808Snare_initToPool(t808Snare *const, tMempool *const)</div><div class="ttdoc">Initialize a t808Snare to a specified mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:319</div></div>
<div class="ttc" id="agroup__t808hihat_html_ga90cf7603e94540308461463f738d120a"><div class="ttname"><a href="group__t808hihat.html#ga90cf7603e94540308461463f738d120a">t808Hihat_init</a></div><div class="ttdeci">void t808Hihat_init(t808Hihat *const, LEAF *const leaf)</div><div class="ttdoc">Initialize a t808Hihat to the default mempool of a LEAF instance.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:146</div></div>
<div class="ttc" id="agroup__t808kick_html_gabb6ccbf278eacb145026c24591a0d37c"><div class="ttname"><a href="group__t808kick.html#gabb6ccbf278eacb145026c24591a0d37c">t808Kick_setToneFreq</a></div><div class="ttdeci">void t808Kick_setToneFreq(t808Kick *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:522</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga7d3ae5159a1e71f7a48e2888b931d6a6"><div class="ttname"><a href="group__t808cowbell.html#ga7d3ae5159a1e71f7a48e2888b931d6a6">t808Cowbell_setHighpassFreq</a></div><div class="ttdeci">void t808Cowbell_setHighpassFreq(t808Cowbell *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:113</div></div>
<div class="ttc" id="agroup__t808hihat_html_gaa2611ffc113296265543a92ebcb1b772"><div class="ttname"><a href="group__t808hihat.html#gaa2611ffc113296265543a92ebcb1b772">t808Hihat_setFM</a></div><div class="ttdeci">void t808Hihat_setFM(t808Hihat *const hihat, float FM_amount)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:276</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga99059721c541953474999ddd3bb59913"><div class="ttname"><a href="group__t808cowbell.html#ga99059721c541953474999ddd3bb59913">t808Cowbell_initToPool</a></div><div class="ttdeci">void t808Cowbell_initToPool(t808Cowbell *const, int useStick, tMempool *const)</div><div class="ttdoc">Initialize a t808Cowbell to a specified mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:26</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga58c18da70d7dbe34f5074dd3864950ec"><div class="ttname"><a href="group__t808cowbell.html#ga58c18da70d7dbe34f5074dd3864950ec">t808Cowbell_tick</a></div><div class="ttdeci">float t808Cowbell_tick(t808Cowbell *const)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:83</div></div>
<div class="ttc" id="agroup__t808snare_html_gafaee814013dd2d593d88edb94760f4ab"><div class="ttname"><a href="group__t808snare.html#gafaee814013dd2d593d88edb94760f4ab">t808Snare_setNoiseFilterFreq</a></div><div class="ttdeci">void t808Snare_setNoiseFilterFreq(t808Snare *const, float noiseFilterFreq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:423</div></div>
<div class="ttc" id="agroup__t808cowbell_html_ga0345c870253d83d7328ddcaa8cd5962f"><div class="ttname"><a href="group__t808cowbell.html#ga0345c870253d83d7328ddcaa8cd5962f">t808Cowbell_on</a></div><div class="ttdeci">void t808Cowbell_on(t808Cowbell *const, float vel)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:73</div></div>
<div class="ttc" id="agroup__t808cowbell_html_gad73082119a3ea30b5531c683617d007b"><div class="ttname"><a href="group__t808cowbell.html#gad73082119a3ea30b5531c683617d007b">t808Cowbell_init</a></div><div class="ttdeci">void t808Cowbell_init(t808Cowbell *const, int useStick, LEAF *const leaf)</div><div class="ttdoc">Initialize a t808Cowbell to the default mempool of a LEAF instance.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:21</div></div>
<div class="ttc" id="agroup__t808cowbell_html_gaf582d380f2b6af70344a3a8b4ae04d09"><div class="ttname"><a href="group__t808cowbell.html#gaf582d380f2b6af70344a3a8b4ae04d09">t808Cowbell_free</a></div><div class="ttdeci">void t808Cowbell_free(t808Cowbell *const)</div><div class="ttdoc">Free a t808Cowbell from its mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:57</div></div>
<div class="ttc" id="agroup__t808snare_html_ga61d0f7d53b904cf9919a767abe274d10"><div class="ttname"><a href="group__t808snare.html#ga61d0f7d53b904cf9919a767abe274d10">t808Snare_free</a></div><div class="ttdeci">void t808Snare_free(t808Snare *const)</div><div class="ttdoc">Free a t808Snare from its mempool.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:349</div></div>
<div class="ttc" id="agroup__t808kick_html_ga5c40b2f7ee8815cd3b50a52f33f69e50"><div class="ttname"><a href="group__t808kick.html#ga5c40b2f7ee8815cd3b50a52f33f69e50">t808Kick_setToneDecay</a></div><div class="ttdeci">void t808Kick_setToneDecay(t808Kick *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:529</div></div>
<div class="ttc" id="agroup__t808kick_html_gacc0caa60a523b68eec29d7a6391021ba"><div class="ttname"><a href="group__t808kick.html#gacc0caa60a523b68eec29d7a6391021ba">t808Kick_setSighAmount</a></div><div class="ttdeci">void t808Kick_setSighAmount(t808Kick *const, float sigh)</div></div>
<div class="ttc" id="agroup__t808hihat_html_gac877fd8a5108ee60ce9bc9629c673749"><div class="ttname"><a href="group__t808hihat.html#gac877fd8a5108ee60ce9bc9629c673749">t808Hihat_setStickBandPassFreq</a></div><div class="ttdeci">void t808Hihat_setStickBandPassFreq(t808Hihat *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:294</div></div>
<div class="ttc" id="agroup__t808snare_html_ga6777f759f2d5969d1ce54337e85f00f2"><div class="ttname"><a href="group__t808snare.html#ga6777f759f2d5969d1ce54337e85f00f2">t808Snare_setNoiseFilterQ</a></div><div class="ttdeci">void t808Snare_setNoiseFilterQ(t808Snare *const, float noiseFilterQ)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:429</div></div>
<div class="ttc" id="agroup__t808snare_html_gacd0d752096b9eb8c14b7bd5e7088f6df"><div class="ttname"><a href="group__t808snare.html#gacd0d752096b9eb8c14b7bd5e7088f6df">t808Snare_init</a></div><div class="ttdeci">void t808Snare_init(t808Snare *const, LEAF *const leaf)</div><div class="ttdoc">Initialize a t808Snare to the default mempool of a LEAF instance.</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:314</div></div>
<div class="ttc" id="agroup__t808kick_html_ga3bba7e177c2b54fadb802277ee4df1d1"><div class="ttname"><a href="group__t808kick.html#ga3bba7e177c2b54fadb802277ee4df1d1">t808Kick_tick</a></div><div class="ttdeci">float t808Kick_tick(t808Kick *const)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:501</div></div>
<div class="ttc" id="agroup__t808snare_html_gae29d81ddb62b86a01e9d9f91af2727ae"><div class="ttname"><a href="group__t808snare.html#gae29d81ddb62b86a01e9d9f91af2727ae">t808Snare_setTone2Freq</a></div><div class="ttdeci">void t808Snare_setTone2Freq(t808Snare *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:392</div></div>
<div class="ttc" id="agroup__t808snare_html_gae053deab7660527b10d71b087e880565"><div class="ttname"><a href="group__t808snare.html#gae053deab7660527b10d71b087e880565">t808Snare_on</a></div><div class="ttdeci">void t808Snare_on(t808Snare *const, float vel)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:370</div></div>
<div class="ttc" id="agroup__t808hihat_html_gafe362829712b47febbc622a133c978eb"><div class="ttname"><a href="group__t808hihat.html#gafe362829712b47febbc622a133c978eb">t808Hihat_setDecay</a></div><div class="ttdeci">void t808Hihat_setDecay(t808Hihat *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:258</div></div>
<div class="ttc" id="astruct_l_e_a_f_html"><div class="ttname"><a href="struct_l_e_a_f.html">LEAF</a></div><div class="ttdoc">Struct for an instance of LEAF.</div><div class="ttdef"><b>Definition:</b> leaf-global.h:31</div></div>
<div class="ttc" id="agroup__t808cowbell_html_gaa7f1e2a1ce97bb32cba4c8c55ea23ccd"><div class="ttname"><a href="group__t808cowbell.html#gaa7f1e2a1ce97bb32cba4c8c55ea23ccd">t808Cowbell_setDecay</a></div><div class="ttdeci">void t808Cowbell_setDecay(t808Cowbell *const, float decay)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:107</div></div>
<div class="ttc" id="agroup__t808kick_html_gafccd007bf99d7997189694ae37ec568e"><div class="ttname"><a href="group__t808kick.html#gafccd007bf99d7997189694ae37ec568e">t808Kick_setNoiseFilterQ</a></div><div class="ttdeci">void t808Kick_setNoiseFilterQ(t808Kick *const, float noiseFilterQ)</div></div>
<div class="ttc" id="agroup__t808snare_html_ga517c3b4cfe9e4d362b37d897b852243c"><div class="ttname"><a href="group__t808snare.html#ga517c3b4cfe9e4d362b37d897b852243c">t808Snare_tick</a></div><div class="ttdeci">float t808Snare_tick(t808Snare *const)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:437</div></div>
<div class="ttc" id="agroup__t808hihat_html_gacece6ca1e3cc6bfe0b5b1ba1ef310a4d"><div class="ttname"><a href="group__t808hihat.html#gacece6ca1e3cc6bfe0b5b1ba1ef310a4d">t808Hihat_setHighpassFreq</a></div><div class="ttdeci">void t808Hihat_setHighpassFreq(t808Hihat *const, float freq)</div><div class="ttdef"><b>Definition:</b> leaf-instruments.c:264</div></div>
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
</body>
</html>
